package com.spring.framework.model.xml.inject;

public class LazyInitInject {

    public static class LazyInitInjectA {
        public LazyInitInjectA() {
            System.out.println("LazyInitInjectA初始化");
        }
    }

    /**
     * 依赖LazyInitInjectC
     */
    public static class LazyInitInjectB {
        private LazyInitInjectC lazyInitInjectC;

        public LazyInitInjectB(LazyInitInjectC lazyInitInjectC) {
            this.lazyInitInjectC = lazyInitInjectC;
            System.out.println("LazyInitInjectB初始化");

        }
    }

    public static class LazyInitInjectC {
        public LazyInitInjectC() {
            System.out.println("LazyInitInjectC初始化");
        }
    }
}
